<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="grid-wrap">
    <table data-id="dg_org"></table>
</div>
<div data-id="nsdb" class="nsdb">
    <shiro:hasPermission name="organization:data:add">
        <a data-href="${pageContext.request.contextPath}/app/api/organization/toAdd" data-key="add"
           iconCls="fa fa-plus fa-lg" plain="true">新增</a>
    </shiro:hasPermission>
    <shiro:hasPermission name="organization:data:delete">
        <a data-href="${pageContext.request.contextPath}/app/api/organization/delete" data-key="del"
           iconCls="fa fa-trash fa-lg" plain="true">删除</a>
    </shiro:hasPermission>
    <a data-href="${pageContext.request.contextPath}/app/api/organization/search" data-key="search"
       iconCls="fa fa-search fa-lg" plain="true">搜索</a>
    <a data-href="#" data-key="search_all" iconCls="fa fa-refresh fa-lg" plain="true">搜索全部</a>
</div>
<div data-id="org_tempate">
    <shiro:hasPermission name='organization:data:update'>
        <a data-href='${pageContext.request.contextPath}/app/api/organization/toUpdate' data-id="{{id}}" data-key="edit"
           iconCls="fa fa-edit fa-lg" plain="true">编辑</a>
    </shiro:hasPermission>
    <shiro:hasPermission name="organization:user:list">
        <a data-href="${pageContext.request.contextPath}/app/api/organization/toOrgManage" data-id="{{id}}"
           data-key="manage" iconCls="fa fa-user-plus fa-lg" plain="true">小组成员管理</a>
    </shiro:hasPermission>
    <a data-href="#" data-id="{{id}}" data-key="view" iconCls="fa fa-eye fa-lg" plain="true">查看详情</a>
</div>
